package com.mtzqc.common.service.impl

import com.didi.drouter.annotation.Service
import com.didi.drouter.api.Extend
import com.mtzqc.common.manager.LogManager
import com.mtzqc.common.service.CrashService

@Service(function = [CrashService::class], cache = Extend.Cache.SINGLETON)
class CrashImpl : CrashService {
    override fun crashLog(error: CharSequence) {
        LogManager.e(error)
    }

    override fun crashLog(e: Throwable) {
        LogManager.e(e)
    }
}